from ftllibs.items.itemtools import ItemIconData

class Item_3114():
    def __init__(self):
        self.parent=False
        self.Name="Malady"
        self.IconFileName="3114.png"
        self.ID=3114
        self.Stack=0
        self.MaxStack=0
        self.Built_From=['1042','1042','1052']
        self.Builds_Into=[]
        self.Tags=['attack_speed','spell_damage']
        self.Costs = 550
        self.Total_Costs = 1825
        self.Description="+25 Ability Power +50% Attack Speed  UNIQUE Passive: Your basic attacks deal 20 bonus magic damage and reduce the target's Magic Resist by 6 for 8 seconds (effect stacks up to 4 times)."
        self.RichText_Description=""
        self.has_active=False
        self.has_passive=True
        self.IconData=ItemIconData(self.IconFileName)
        self.Availability=["all"]
        self.Custom()

    def UpdateStats(self):
        self.parent.Ability_Power += 25.0
        self.parent.Attack_Speed_Percentage += 50.0
        # above is %
        self.UpdateStats_Custom()


    def Custom(self):
        pass

    def UpdateStats_Custom(self):
        pass


